package com.joker.springcloud.mapper;

import com.joker.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author JokerKS
 * @Date 2021/12/20 09:18
 * @Version 1.0
 */
@Mapper
@Repository
public interface DeptMapper {
	boolean addDept(Dept dept);

	Dept queryById(Long id);

	List<Dept> queryAll();
}
